from comm.seafile_func import seafile_login

rs = seafile_login('seafile@admin.com','admin')
try:
    assert rs.status_code == 200
except AssertionError:
    print('断言失败')
except:
    print('断言错误')